package com.demo.cms.action;

import com.demo.cms.service.ArticleService;
import com.demo.core.model.Template;
import com.demo.core.service.base.TemplateService;
import com.demo.webapp.action.PageAction;
import com.demo.webapp.action.TemplateProvider;

/**
 * 页面首页Action
 * @author ryuu.kk
 *
 */
public class IndexAction extends PageAction implements TemplateProvider {

	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = -7193903795850722548L;

	/**StrutsTypeConverter
	 * 模板模型
	 */
	private Template template;
	
	/**
	 * 文章服务接口
	 */
	private ArticleService articleService;
	
	/**
	 * 模板服务接口
	 */
	private TemplateService templateService;
	
	/**
	 * 首页页面
	 * @return String
	 */
	public String execute() {
		
		return CALLBACK;
	}

	@Override
	public Template getTemplateModel() {
		// TODO Auto-generated method stub
		return null;
	}
}
